<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link type="text/css" rel="stylesheet" href="../css/style.css" />

</head>

<body>
<table width="100%" height="50" border="0" cellPadding="0"
	cellspacing="0">
	<tr height=40>
		<td><img src="../img/topbar/product.png" /></td>
		<td>
		<DIV id="time"><script language="JavaScript">   
var   enabled   =   0;
today   =   new   Date();                              
var   day;   
var   date;                                        
if(today.getDay()==0)   day   =   "星期日";                                   
if(today.getDay()==1)   day   =   "星期一" ; 
if(today.getDay()==2)   day   =   "星期二" ;                                                           

if(today.getDay()==3)   day   =   "星期三" ;                                                              

if(today.getDay()==4)   day   =   "星期四" ;                                                             

if(today.getDay()==5)   day   =   "星期五" ;                                                              

if(today.getDay()==6)   day   =   "星期六" ;                                                              

date   =   (today.getYear())   +"年"     +   (today.getMonth()   +   1   )   +   "月"     +   

today.getDate()   +   "日&nbsp;&nbsp;&nbsp;&nbsp;";                                                                             

document.write("<span   style=\"font-size:12px;color:#FFF;\"   >");                                                  

document.write(date);     
document.write("<IMG src='../img/topbar/time.gif' align=absMiddle><SPAN id='time_area'></SPAN>&nbsp;&nbsp;&nbsp;&nbsp;");                                                             
document.write(day);     
document.write("</span>");                                     
</script></DIV>
		<DIV id=weather title=点击城市名称可以更改城市></DIV>
		</td>
	</tr>
</table>
<SCRIPT language=JavaScript>
var OA_TIME = new Date();

function timeview()
{
  timestr=OA_TIME.toLocaleString();
  timestr=timestr.substr(timestr.indexOf(":")-2, 8);
  document.getElementById("time_area").innerHTML = timestr;
  OA_TIME.setSeconds(OA_TIME.getSeconds()+1);
 
}
 window.setInterval(timeview,1000);
window.setInterval("window.location.reload()", 3600*1000);
</SCRIPT>

</body>
</html>
